##赋值
a=8
a += 2
print(a)
a=8
a += 2
print(a)
a=8
a += 2
print(a)
a=8
a += 2
print(a)
##比较
a = 2
b = 10
print(a==b)
print(a != b)
print(a > b)
print(a < b)
print(a >= b)
print(a <= b)
print
###逻辑
print(True and False)
print(True or False)
print(not False)
###成员运算
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)